/* 
 * File:   Coils.h
 * Author: mori
 *
 * Created on April 24, 2011, 8:36 PM
 */
#include <iostream>
#include <cstdlib>
#include <stdio.h>


using namespace std;

#ifndef COILS_H
#define	COILS_H




class Coils
{

public:
        Coils (const char* file_name, int num);
	float getCoilR(int i) //coordinate r of i's source
	{
		return CoilR[i];
	}

	float getCoilZ(int i) //coordinate z of i's source
	{
		return CoilZ[i];
	} 
	float getCoilI(int i) //current of i's source
	{
		return CoilI[i];
	} 
	int getNumber()
	{
		return number;
	}
private:
        float* CoilR;
    float* CoilZ;
    float* CoilI;
    int number;
};



#endif	/* COILS_H */

